import numpy as np

a = np.array([1, 2, 3], dtype=complex)
print(a)
""" [1.+0.j 2.+0.j 3.+0.j] """
